<template>
  <div>
    <ele-upload-image
      action="/Upload"
      v-model="image"
      :lazy="true"
      :limit="2"
      multiple
      :responseFn="handleResponse"
    ></ele-upload-image>
    <el-button @click="handleredit">
      编辑
    </el-button>
  </div>
</template>
<script>
export default {
  data() {
    return {
      image: ""
    };
  },
  methods: {
    handleResponse(response, file, fileList) {
      //   console.log(response.data.src);
      return (this.image = response.data.src);
    },
    handleredit() {
      this.image = "http://image.sportfox.cn/e8f332020121414422866193.jpg";
    }
  }
};
</script>
